package com.example.comsumer.util;

/**
 * @ClassName MyRpcException
 * @Description TODO
 * @Author 11
 * @Date 2021/3/31 10:47
 * @Version 1.0
 */

//自定义异常类
public class MyRpcException extends RuntimeException {
    private static final long serialVersionUID = 42L;

    public MyRpcException(String msg) {
        super(msg);
    }

    public MyRpcException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public MyRpcException(Throwable cause) {
        super(cause);
    }
}
